Installing the JDBC Client

NOTE: Be sure that a full JDK is on your path. See "SequeLink® Client for JDBC" for more information.

To install on your local drive:

  1. Locate the JDBC Client. If you are installing:
    • From the DataDirect DVD, navigate to the sqlnk60/client/java subdirectory. Continue at Step 3.
    • See "Mounting Your DVD" for information about mounting the SequeLink DVD on the most common Java-enabled platforms.

    • From the DataDirect Web site http://www.datadirect.com/download/downloadindex.asp, download the sequelinkjdbc.jar file to an installer directory, which can also be the installation directory for the JDBC Client. You can choose a different installation directory during the installation procedure.
  2. At a command prompt, enter the following command to unpack the SLJCInstaller.jar file:
  3. java -jar sequelinkjdbc.jar

  4. To run the installer, follow either of the following procedures:

GUI Installation

  1. At a command prompt, enter the following command:
  2. java -jar SLJCInstaller.jar

    The DataDirect SequeLink for JDBC 6.0 Installer window appears. Click Next to continue. The License Agreement window appears.

  3. On the License Agreement window, perform one of the following actions:
    • Accept the agreement by clicking the appropriate option.Then, click Next. The Custom Setup window appears.
    • Do not accept the agreement by clicking Cancel to exit the installation.
  4. A window appears allowing you to select the components to install.

  5. SequeLink Client for JDBC Installer window, showing the check boxes for all of the developer's tools as selected, and the check box to install the online books as not selected.

    Because the SequeLink for JDBC Driver option is required, that option is grayed out.

    Select or clear one or more of the following options:

    • Install Developer's Tools: Select this option to install DataDirect Test for testing JDBC applications, DataDirect Spy for tracking JDBC calls, and the DataDirect Connection Pool Manager.
    • Install Proxy Server: Select this option to install the SequeLink Proxy Server. Installing the SequeLink Proxy Server on the Web server from which your JDBC applets are downloaded allows untrusted applets to connect to SequeLink Servers on hosts other than the Web server.
    • Create JCA Resource Adapters: Select this option if you need to create resource adapters to connect to enterprise information systems through the J2EE Connector Architecture.
    • Install SequeLink Online Books: Select this option to install the SequeLink 6.0 library.
  6. In the Install Directory field, type the path, including the drive letter on Windows machines, of the JDBC Client installation directory or click the ... button next to the field to select an installation directory.
  7. NOTE: The default value for the installation directory is the directory from which the installer is running. Verify that you have entered or selected the correct directory into which you want to install the JDBC Client. If you have a previous version of the JDBC Client installed on the same machine, you must specify a directory different from the one for the previous version.

    Then, click Next to continue.

  8. A window appears allowing you to confirm your installation options. Click Back to revise your choices, or click Install to install the JDBC Client. The JDBC Client is installed.
  9. Click Finish to close the Installer.

Command-Line Installation

  1. At a command prompt, change to the directory where the SLJCInstaller.jar is located.
  2. Enter the following command:
  3. java -cp SLJCInstaller.jar com.ddtek.jdbc.sljcinstaller.Installer -ir {yes|no} -it {yes|no} -ib {yes|no} -ip {yes|no} -d {install_dir}

    where:

    -ir
    {yes|no}. If yes, JCA resource adapters are installed for connecting to enterprise information systems through the J2EE Connector Architecture.
    -it
    {yes|no}. If yes, the following JDBC development components are installed: DataDirect Test for testing JDBC applications, DataDirect Spy for tracking JDBC calls, and the DataDirect Connection Pool Manager.
    -ib
    {yes|no}. If yes, the SequeLink 6.0 library is installed.
    -ip
    {yes|no}. If yes, the SequeLink Proxy Server is installed. Installing the SequeLink Proxy Server on the Web server from which your JDBC applets are downloaded allows untrusted applets to connect to SequeLink Servers on hosts other than the Web server.
    -d install_dir
    Specifies the full path, including the drive letter on Windows machines, to the JDBC Client installation directory.
    NOTE: If the directory path contains spaces, you must enclose the path name with double quotation marks, for example:
    -d "c:\Program Files\DataDirect\sljc60" 
    

  4. If the JDBC Client was successfully installed, a message appears confirming the installation.

Example:

java -cp SLJCInstaller.jar 
com.ddtek.jdbc.sljcinstaller.Installer -ir yes -it yes 
-ib yes -ip no -d "C:\Program Files\DataDirect\sljc60" 

This SequeLink command-line example performs the following actions: